<?php /* Smarty version 2.6.26, created on 2012-05-12 15:00:38
         compiled from controllers%5Clisting_type.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'rlHook', 'controllers\\listing_type.tpl', 3, false),array('function', 'paging', 'controllers\\listing_type.tpl', 18, false),array('modifier', 'cat', 'controllers\\listing_type.tpl', 12, false),array('modifier', 'count', 'controllers\\listing_type.tpl', 18, false),array('modifier', 'regex_replace', 'controllers\\listing_type.tpl', 34, false),array('modifier', 'replace', 'controllers\\listing_type.tpl', 215, false),)), $this); ?>
<!-- listing type -->

<?php echo rlHook::load(array('name' => 'browseTop'), $this);?>


<script type="text/javascript" src="<?php echo @RL_LIBS_URL; ?>
jquery/numeric.js"></script>

<!-- search results -->
<?php if ($this->_tpl_vars['search_results']): ?>
	
	<?php if (! empty ( $this->_tpl_vars['listings'] )): ?>
	
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'grid_navbar.tpl') : smarty_modifier_cat($_tmp, 'grid_navbar.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'grid.tpl') : smarty_modifier_cat($_tmp, 'grid.tpl')), 'smarty_include_vars' => array('hl' => true)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<script type="text/javascript">flynax.highlightSRGrid($('div.refine input[name="f\[keyword_search\]"]').val());</script>
		
		<!-- paging block -->
		<?php echo rlSmarty::paging(array('calc' => $this->_tpl_vars['pInfo']['calc'],'total' => count($this->_tpl_vars['listings']),'current' => $this->_tpl_vars['pInfo']['current'],'per_page' => $this->_tpl_vars['config']['listings_per_page'],'url' => $this->_tpl_vars['search_results_url'],'method' => $this->_tpl_vars['listing_type']['Submit_method']), $this);?>

		<!-- paging block end -->
	
	<?php else: ?>
		
		<div class="info">
			<?php if ($this->_tpl_vars['listing_type']['Admin_only']): ?>
				<?php echo $this->_tpl_vars['lang']['no_listings_found_deny_posting']; ?>

			<?php else: ?>
				<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?>
					<?php $this->assign('href', ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['rlBase'])) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['pages']['add_listing']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['pages']['add_listing'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '.html') : smarty_modifier_cat($_tmp, '.html'))); ?>
			<?php else: ?>
					<?php $this->assign('href', ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['rlBase'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'index.php?page=') : smarty_modifier_cat($_tmp, 'index.php?page=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['pages']['add_listing']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['pages']['add_listing']))); ?>
				<?php endif; ?>
				
				<?php $this->assign('link', ((is_array($_tmp=((is_array($_tmp='<a href="')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['href']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['href'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">$1</a>') : smarty_modifier_cat($_tmp, '">$1</a>'))); ?>
				<?php echo ((is_array($_tmp=$this->_tpl_vars['lang']['no_listings_found'])) ? $this->_run_mod_handler('regex_replace', true, $_tmp, '/\[(.+)\]/', $this->_tpl_vars['link']) : smarty_modifier_regex_replace($_tmp, '/\[(.+)\]/', $this->_tpl_vars['link'])); ?>

			<?php endif; ?>
		</div>
		
	<?php endif; ?>
	
	<script type="text/javascript">
	var save_search_notice = "<?php echo $this->_tpl_vars['lang']['save_search_confirm']; ?>
";
	flynax.saveSearch();
	flynax.multiCatsHandler();
	</script>

<!-- search results end -->
<?php else: ?>
<!-- browse/search forms mode -->

	<?php if ($this->_tpl_vars['advanced_search']): ?>
	
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'advanced_search.tpl') : smarty_modifier_cat($_tmp, 'advanced_search.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

	<?php else: ?>
	
		<?php if (! empty ( $this->_tpl_vars['category']['des'] )): ?>
			<div class="highlight" style="margin: 0 0 15px;">
				<?php echo $this->_tpl_vars['category']['des']; ?>

			</div>
		<?php endif; ?>
	
		<?php if ($this->_tpl_vars['listing_type']['Cat_position'] == 'top'): ?>
			<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'categories.tpl') : smarty_modifier_cat($_tmp, 'categories.tpl')), 'smarty_include_vars' => array('no_margin' => false)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<?php endif; ?>
		
		<?php if (( $this->_tpl_vars['search_form'] || ( $this->_tpl_vars['listing_type']['Random_featured'] && $this->_tpl_vars['random_featured'] ) ) && ! $this->_tpl_vars['category']['ID']): ?>
			<table class="type_top_content" <?php if (! $this->_tpl_vars['search_form']): ?>style="width: auto;"<?php endif; ?>>
			<tr>
			<!-- print search form -->
			<?php if ($this->_tpl_vars['search_form']): ?>
				<td valign="top">
					<div class="caption"><?php echo $this->_tpl_vars['lang']['quick_search']; ?>
</div>
					<?php if ($this->_tpl_vars['tabs_search']): ?>
						<ul class="search_tabs">
							<?php $this->assign('z_index', 20); ?>
							<?php $_from = $this->_tpl_vars['tabs_search']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['stabF'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['stabF']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['s_tab']):
        $this->_foreach['stabF']['iteration']++;
?>
								<?php if ($this->_tpl_vars['search_form'][$this->_tpl_vars['s_tab']]): ?>
								<?php $this->assign('s_tab_phrase', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='search_forms+name+')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['listing_type']['Key']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['listing_type']['Key'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '_tab') : smarty_modifier_cat($_tmp, '_tab')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['s_tab']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['s_tab']))); ?>
								<li <?php if (($this->_foreach['stabF']['iteration'] <= 1)): ?>class="first active"<?php endif; ?> style="z-index: <?php echo $this->_tpl_vars['z_index']; ?>
">
									<span class="left"></span>
									<span class="center"><?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['s_tab_phrase']]; ?>
</span>
									<span class="right"></span>
								</li>
								<?php $this->assign('z_index', $this->_tpl_vars['z_index']-1); ?>
								<?php endif; ?>
							<?php endforeach; endif; unset($_from); ?>
						</ul>
						<script type="text/javascript">flynax.searchTabs();</script>
					<?php endif; ?>
					<div class="highlight_dark<?php if ($this->_tpl_vars['listing_type']['Random_featured'] && $this->_tpl_vars['random_featured']): ?> sell_space<?php endif; ?><?php if ($this->_tpl_vars['tabs_search']): ?> in_tabs<?php endif; ?>">	
						<?php if ($this->_tpl_vars['tabs_search']): ?>
							<?php $_from = $this->_tpl_vars['search_form']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['intabF'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['intabF']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['ts_index'] => $this->_tpl_vars['s_form']):
        $this->_foreach['intabF']['iteration']++;
?>
								<div class="search_tab_area<?php if (! ($this->_foreach['intabF']['iteration'] <= 1)): ?> hide<?php endif; ?>">
									<form class="search_form" method="<?php echo $this->_tpl_vars['listing_type']['Submit_method']; ?>
" action="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pageInfo']['Path']; ?>
/<?php echo $this->_tpl_vars['search_results_url']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pageInfo']['Path']; ?>
&amp;<?php echo $this->_tpl_vars['search_results_url']; ?>
<?php endif; ?>">
										<input type="hidden" name="action" value="search" />
										<?php $this->assign('post_form_key', ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['listing_type']['Key'])) ? $this->_run_mod_handler('cat', true, $_tmp, '_tab') : smarty_modifier_cat($_tmp, '_tab')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['ts_index']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['ts_index']))); ?>
										<input type="hidden" name="post_form_key" value="<?php echo $this->_tpl_vars['post_form_key']; ?>
" />
										
										<input <?php if (! ($this->_foreach['intabF']['iteration'] <= 1)): ?>disabled="disabled"<?php endif; ?> class="search_tab_hidden" type="hidden" name="f[<?php echo $this->_tpl_vars['listing_type']['Arrange_field']; ?>
]" value="<?php echo $this->_tpl_vars['s_form']['0']['Tab_value']; ?>
" />
										<?php $_from = $this->_tpl_vars['s_form']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['group']):
?>
											<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'fields_search.tpl') : smarty_modifier_cat($_tmp, 'fields_search.tpl')), 'smarty_include_vars' => array('fields' => $this->_tpl_vars['group']['Fields'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
										<?php endforeach; endif; unset($_from); ?>
										
										<table class="search">
										<tr>
											<?php if ($this->_tpl_vars['config']['search_fields_position'] == 2): ?><td class="field"></td><?php endif; ?>
											<td class="value button">
												<input type="submit" name="search" value="<?php echo $this->_tpl_vars['lang']['search']; ?>
" />
												<label><input style="margin-<?php echo $this->_tpl_vars['text_dir']; ?>
: 20px;" type="checkbox" name="f[with_photo]" value="true" /> <?php echo $this->_tpl_vars['lang']['with_photos_only']; ?>
</label>
											</td>
										</tr>
										<?php if ($this->_tpl_vars['listing_type']['Advanced_search']): ?>
										<tr>
											<?php if ($this->_tpl_vars['config']['search_fields_position'] == 2): ?><td class="field"></td><?php endif; ?>
											<td class="lalign"><a class="white_11" title="<?php echo $this->_tpl_vars['lang']['advanced_search']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pageInfo']['Path']; ?>
/<?php echo $this->_tpl_vars['advanced_search_url']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pageInfo']['Path']; ?>
&amp;<?php echo $this->_tpl_vars['advanced_search_url']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['lang']['advanced_search']; ?>
</a></td>
										</tr>
										<?php endif; ?>
										</table>
									</form>
								</div>
							<?php endforeach; endif; unset($_from); ?>
						<?php else: ?>
							<form class="search_form" method="<?php echo $this->_tpl_vars['listing_type']['Submit_method']; ?>
" action="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pageInfo']['Path']; ?>
/<?php echo $this->_tpl_vars['search_results_url']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pageInfo']['Path']; ?>
&amp;<?php echo $this->_tpl_vars['search_results_url']; ?>
<?php endif; ?>">
								<input type="hidden" name="action" value="search" />
								<?php $this->assign('post_form_key', ((is_array($_tmp=$this->_tpl_vars['listing_type']['Key'])) ? $this->_run_mod_handler('cat', true, $_tmp, '_quick') : smarty_modifier_cat($_tmp, '_quick'))); ?>
								<input type="hidden" name="post_form_key" value="<?php echo $this->_tpl_vars['post_form_key']; ?>
" />
								
								<?php $_from = $this->_tpl_vars['search_form']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['group']):
?>
									<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'fields_search.tpl') : smarty_modifier_cat($_tmp, 'fields_search.tpl')), 'smarty_include_vars' => array('fields' => $this->_tpl_vars['group']['Fields'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
								<?php endforeach; endif; unset($_from); ?>
								
								<table class="search">
								<tr>
									<?php if ($this->_tpl_vars['config']['search_fields_position'] == 2): ?><td class="field"></td><?php endif; ?>
									<td class="value button">
										<input type="submit" name="search" value="<?php echo $this->_tpl_vars['lang']['search']; ?>
" />
										<label><input style="margin-<?php echo $this->_tpl_vars['text_dir']; ?>
: 20px;" type="checkbox" name="f[with_photo]" value="true" /> <?php echo $this->_tpl_vars['lang']['with_photos_only']; ?>
</label>
									</td>
								</tr>
								<?php if ($this->_tpl_vars['listing_type']['Advanced_search']): ?>
								<tr>
									<?php if ($this->_tpl_vars['config']['search_fields_position'] == 2): ?><td class="field"></td><?php endif; ?>
									<td class="lalign"><a class="white_11" title="<?php echo $this->_tpl_vars['lang']['advanced_search']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pageInfo']['Path']; ?>
/<?php echo $this->_tpl_vars['advanced_search_url']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pageInfo']['Path']; ?>
&amp;<?php echo $this->_tpl_vars['advanced_search_url']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['lang']['advanced_search']; ?>
</a></td>
								</tr>
								<?php endif; ?>
								</table>
							</form>
						<?php endif; ?>
					</div>
					
					<script type="text/javascript">
					var phrase_from = "<?php echo $this->_tpl_vars['lang']['from']; ?>
";
					var phrase_to = "<?php echo $this->_tpl_vars['lang']['to']; ?>
";
					<?php echo '
					
					$(document).ready(function(){
						flynax.fromTo(phrase_from, phrase_to);
						flynax.multiCatsHandler();
						$("input.numeric").numeric();
					});
					
					'; ?>

					</script>
				</td>
			<?php endif; ?>
			<!-- print search form -->
			
			<!-- print random featured listing(s) -->
			<?php if ($this->_tpl_vars['listing_type']['Random_featured'] && $this->_tpl_vars['random_featured']): ?>
				<td valign="top" class="random_featured">
					<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'random_featured.tpl') : smarty_modifier_cat($_tmp, 'random_featured.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
				</td>
			<?php endif; ?>
			<!-- print random featured listing(s) end -->
			</tr>
			</table>
		<?php endif; ?>
		
		<?php if ($this->_tpl_vars['listing_type']['Cat_position'] == 'bottom'): ?>
			<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'categories.tpl') : smarty_modifier_cat($_tmp, 'categories.tpl')), 'smarty_include_vars' => array('no_margin' => true)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<?php endif; ?>
		
		<?php if ($this->_tpl_vars['category']['ID']): ?>
			<?php if (! empty ( $this->_tpl_vars['listings'] )): ?>
			
				<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'grid_navbar.tpl') : smarty_modifier_cat($_tmp, 'grid_navbar.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

				<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'grid.tpl') : smarty_modifier_cat($_tmp, 'grid.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
				
				<!-- paging block -->
				<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?>
					<?php echo rlSmarty::paging(array('calc' => $this->_tpl_vars['pInfo']['calc'],'total' => count($this->_tpl_vars['listings']),'current' => $this->_tpl_vars['pInfo']['current'],'per_page' => $this->_tpl_vars['config']['listings_per_page'],'url' => $this->_tpl_vars['category']['Path'],'var' => 'listing'), $this);?>

				<?php else: ?>
					<?php echo rlSmarty::paging(array('calc' => $this->_tpl_vars['pInfo']['calc'],'total' => count($this->_tpl_vars['listings']),'current' => $this->_tpl_vars['pInfo']['current'],'per_page' => $this->_tpl_vars['config']['listings_per_page'],'url' => $this->_tpl_vars['category']['ID'],'var' => 'category'), $this);?>

				<?php endif; ?>	
				<!-- paging block end -->
			
			<?php else: ?>
			
				<?php if ($this->_tpl_vars['category']['Lock']): ?>
					<?php $this->assign('br_count', count($this->_tpl_vars['bread_crumbs'])); ?>
					<?php $this->assign('br_count', $this->_tpl_vars['br_count']-2); ?>
					
					<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?>
						<?php $this->assign('lock_link', ((is_array($_tmp=$this->_tpl_vars['rlBase'])) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['bread_crumbs'][$this->_tpl_vars['br_count']]['path']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['bread_crumbs'][$this->_tpl_vars['br_count']]['path']))); ?>
						<?php if ($this->_tpl_vars['listing_type']['Cat_postfix']): ?>
							<?php $this->assign('lock_link', ((is_array($_tmp=$this->_tpl_vars['lock_link'])) ? $this->_run_mod_handler('cat', true, $_tmp, '.html') : smarty_modifier_cat($_tmp, '.html'))); ?>
						<?php else: ?>
							<?php $this->assign('lock_link', ((is_array($_tmp=$this->_tpl_vars['lock_link'])) ? $this->_run_mod_handler('cat', true, $_tmp, '/') : smarty_modifier_cat($_tmp, '/'))); ?>
						<?php endif; ?>
					<?php else: ?>
						<?php $this->assign('lock_link', ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['rlBase'])) ? $this->_run_mod_handler('cat', true, $_tmp, '?page=') : smarty_modifier_cat($_tmp, '?page=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['bread_crumbs'][$this->_tpl_vars['br_count']]['path']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['bread_crumbs'][$this->_tpl_vars['br_count']]['path']))); ?>
					<?php endif; ?>
					
					<?php $this->assign('replace', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a title="')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lang']['back_to_category']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lang']['back_to_category'])))) ? $this->_run_mod_handler('replace', true, $_tmp, '[name]', $this->_tpl_vars['bread_crumbs'][$this->_tpl_vars['br_count']]['name']) : smarty_modifier_replace($_tmp, '[name]', $this->_tpl_vars['bread_crumbs'][$this->_tpl_vars['br_count']]['name'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '" href="') : smarty_modifier_cat($_tmp, '" href="')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lock_link']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lock_link'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lang']['click_here']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lang']['click_here'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?>
					<div class="info"><?php echo ((is_array($_tmp=$this->_tpl_vars['lang']['browse_category_locked'])) ? $this->_run_mod_handler('regex_replace', true, $_tmp, '/\[(.+)\]/', $this->_tpl_vars['replace']) : smarty_modifier_regex_replace($_tmp, '/\[(.+)\]/', $this->_tpl_vars['replace'])); ?>
</div>
				<?php else: ?>
					<div class="info">
						<?php if ($this->_tpl_vars['listing_type']['Admin_only']): ?>
							<?php echo $this->_tpl_vars['lang']['no_listings_here_submit_deny']; ?>

						<?php else: ?>
							<?php $this->assign('link', ((is_array($_tmp=((is_array($_tmp='<a href="')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['add_listing_href']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['add_listing_href'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">$1</a>') : smarty_modifier_cat($_tmp, '">$1</a>'))); ?>
							<?php echo ((is_array($_tmp=$this->_tpl_vars['lang']['no_listings_here'])) ? $this->_run_mod_handler('regex_replace', true, $_tmp, '/\[(.+)\]/', $this->_tpl_vars['link']) : smarty_modifier_regex_replace($_tmp, '/\[(.+)\]/', $this->_tpl_vars['link'])); ?>

						<?php endif; ?>
					</div>
				<?php endif; ?>
				
			<?php endif; ?>
		<?php endif; ?>
		
	<?php endif; ?>
	
	<script type="text/javascript">$("input.numeric").numeric();</script>
	
<?php endif; ?>
<!-- browse mode -->

<?php echo rlHook::load(array('name' => 'browseBottom'), $this);?>


<!-- listing type end -->